<div class="stocks view">
<h2><?php  __('Stock');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Model'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['model']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Storebought'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['storebought']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Costprice'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['costprice']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Saleprice'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['saleprice']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Quantity'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['quantity']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Invoicenumber'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $stock['Stock']['invoicenumber']; ?>
			&nbsp;
		</dd>
	</dl><br />
                        <?php echo $this->Html->link(__('Edit Stock', true), array('action' => 'edit', $stock['Stock']['id'])); ?> &nbsp; &nbsp; &nbsp;&nbsp;
<?php echo $this->Html->link(__('Delete Stock', true), array('action' => 'delete', $stock['Stock']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $stock['Stock']['id'])); ?>&nbsp; &nbsp; &nbsp; &nbsp;
<?php echo $this->Html->link(__('Back to Stock List', true), array('action' => 'index')); ?> &nbsp; &nbsp; &nbsp; &nbsp;
<?php echo $this->Html->link(__('New Stock', true), array('action' => 'add')); ?> 
</div>
